﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace GBT.SystemEnties
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("ReportMeals")]
    public partial class ReportMeals
    {
           public ReportMeals(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsIdentity=true)]
           public int ID {get;set;}

           /// <summary>
           /// Desc:报餐人
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public int UserID {get;set;}

           /// <summary>
           /// Desc:餐厅
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int HallId {get;set;}

           /// <summary>
           /// Desc:报餐日期
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public DateTime Date {get;set;}

           /// <summary>
           /// Desc:餐点
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public int MealID {get;set;}

           /// <summary>
           /// Desc:日历中天的索引
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int dayIndex {get;set;}

           /// <summary>
           /// Desc:报餐月份
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int month {get;set;}

           /// <summary>
           /// Desc:份数
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int qty {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int DistrictID {get;set;}

           /// <summary>
           /// Desc:
           /// Default:DateTime.Now
           /// Nullable:False
           /// </summary>           
           public DateTime CreationDate {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? IsTakeMeals {get;set;}

    }
}
